package kr.saeildadim.androidexam_saeildamil.chapter5;

import kr.saeildadim.androidexam_saeildamil.R;
import kr.saeildadim.androidexam_saeildamil.chapter6.Codelayout;
import kr.saeildadim.androidexam_saeildamil.chapter6.Inflation5;
import kr.saeildadim.androidexam_saeildamil.chapter6.InflationEx;
import kr.saeildadim.androidexam_saeildamil.chapter6.LayoutParameterEx;
import kr.saeildadim.androidexam_saeildamil.chapter6.MultiPageEx;
import kr.saeildadim.androidexam_saeildamil.chapter6.SetparameterEx;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch05_Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch05_main);
	}
	public  void mOnClick(View v){
		switch (v.getId()) {
		case R.id.ch05_btn01:
			startActivity(new Intent(this, FrameEx.class));
			break;
		case R.id.ch05_btn02:
			startActivity(new Intent(this, GravityEx1.class));
			break;
		case R.id.ch05_btn03:
			startActivity(new Intent(this, PaddingExx.class));
			break;
		case R.id.ch05_btn04:
			startActivity(new Intent(this, Relateve.class));
			break;
		case R.id.ch05_btn05:
			startActivity(new Intent(this, TableRowEx.class));
			break;
		
		}
	}
}
